import { IsNotEmpty, IsString, MaxLength } from 'class-validator';

export class CreateCategoryDto {
  @IsString()
  @MaxLength(20)
  @IsNotEmpty()
  title: string;

  @IsString()
  @MaxLength(100)
  remark: string;

  @IsString()
  @IsNotEmpty()
  icon: string;
}
